import type { ExtractPropTypes, PropType } from "vue";

export declare interface ICardTitleItem {
  label: string;
  value: string;
}

export const cardProps = {
  title: {
    type: [Array, String] as PropType<ICardTitleItem[] | string>,
  },
  modelValue: {
    type: String,
  },
};

export type CardProps = ExtractPropTypes<typeof cardProps>;
